// 中台接口
import {
  request
} from "@utils/request";
import {
  getCurrentOrganizationId
} from '@/utils/util.js'
// 获取自定义表头
export function getCustomizeHeaders(parameter) {
  return request({
    url: `/indv/v1/${getCurrentOrganizationId()}/customize-headers`,
    method: "get",
    params: parameter,
  });
}
//保存自定义表头
export function putCustomizeHeaders(parameter) {
  return request({
    url: `/indv/v1/${getCurrentOrganizationId()}/customize-headers`,
    method: "put",
    data: parameter,
  });
}